package com.coin.common;


import java.util.HashMap;
import java.util.Map;

/**
 * Created by chenhao on 2017/5/18.
 */
public class BusinessType {
    private static final Map<Integer, FlowDirect> map = new HashMap<>();

    public static final Integer common = 1;

    static {
        map.put(common, new FlowDirect(MemberType.member, AccountType.memberBalance, MemberType.member, AccountType.memberBalance));
    }

    public static FlowDirect findFlowDirectByBusinessType(Integer businessType) {
        return map.get(businessType);
    }
}
